/**     
* @Title: SpringDemoFeignService.java   
* @Package me.cloud   
* @Description: TODO   
* @author xaoyaoyao
* @date 2018年12月2日 下午10:36:09
*/
package me.cloud;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ClassName: SpringDemoFeignService
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2018年12月2日 下午10:36:09
 * 
 */
@FeignClient(value = "spring-demo-service", fallback = ErrorHystrix.class)
public interface SpringDemoFeignService {

	@RequestMapping(value = "port", method = RequestMethod.GET)
	String hello();
}
